<include file="common/fileinput"/>
<include file="template:style"/>
<div class="col-xs-12">
	<div class="row">
		<form class="form-horizontal" role="form" id="form" action="{:U('Vctransaction/edit')}">
			<div class="form-group">
				<input type="hidden" name="id" value="{$data.id}">
				<include file="template:input" name="seller" label="卖方账户" value="{$data.seller}"  attr='data-rule="required;length(~255)" maxlength="255"'/>
				<include file="template:integer" name="sellerid" label="卖方id" value="{$data.sellerid}"  attr='data-rule="required;length(~10)" maxlength="10"'/>
				<include file="template:input" name="buyer" label="买方账户" value="{$data.buyer}"  attr='data-rule="required;length(~255)" maxlength="255"'/>
				<include file="template:integer" name="buyerid" label="买方id" value="{$data.buyerid}"  attr='data-rule="required;length(~10)" maxlength="10"'/>
				<include file="template:number" name="entrustnum" label="数量" value="{$data.entrustnum}"  attr='data-rule="required;length(~9)" maxlength="9"'/>
				<include file="template:integer" name="currency" label="对应币种" value="{$data.currency}"  attr='data-rule="required;length(~10)" maxlength="10"'/>
			</div>
			<div class="form-group" style="margin-top: 20px;">
				<include file="template:button" label="保存"/>
			</div>
		</form>
	</div>
</div>